var db=require('./db.js');
// 查询实例
db.query('select * from user', [],function(result,fields){
    console.log('查询结果：');
    console.log(result);
});
//添加实例
//var  addSql = 'INSERT INTO user(Userid,UserName,UserPassword,UserItem,UserAddress) VALUES(0,?,?,?,?)';
//var  addSqlParams =['YYY', '123123','airpods','浙江杭州'];
//db.query(addSql,addSqlParams,function(result,fields){
//    console.log('添加成功')
//})
///修改实例

//删除实例